//
//  SSSSystemMessageDetailViewContoller.m
//  SSSAllRollAgency
//
//  Created by xnxin on 2017/3/18.
//  Copyright (c) 2017 Darker. All rights reserved.
//

#import "SSSSystemMessageDetailViewContoller.h"
#import "SSSSystemMessageCellModel.h"
#import "NSDateAddition.h"
#import "UIStoryboard+XHAdd.h"
#import "XHUIHelper.h"

@implementation SSSSystemMessageDetailViewContoller

- (void)loadView {
    [super loadView];
    self.view.backgroundColor = [UIColor whiteColor];
}

- (void)viewDidLoad {
    [super viewDidLoad];

    self.title = @"系统消息";
    [self.view insertSubview:[XHUIHelper bgView] atIndex:0];

    self.dateLabel.text = [self.model.date xhstringWithFormat:@"yyyy-MM-dd HH:mm"];
    self.contentLabel.text = self.model.content;
}


+ (__kindof UIViewController *)storyboardInstance {

    UIStoryboard *sb = [UIStoryboard storyboardWithName:@"SystemMessage" bundle:nil];
    return [sb controller:self];
}
@end
